<style>
.fe-floatback a {
    display: block;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 100%;
    background-color: #fff;
    color: #333;
    line-height: 1.6rem;
    opacity: 0.6;
}
.fe-floatback a .icon {
    color: #333;
    font-size: 1.2rem;
    height: 1.6rem;
}
.btn.btn-danger-o {
    background: transparent;
    color: #fbce2a;
    border: 1px solid #fbce2a;
}
</style>
<div class="fui-page fui-page-current page-goods-list" style="background: linear-gradient(#fbce2a, #fcd7f7);">
<div class="fe-floatback" style="top:0.5rem;left:0.5rem">
		 <a class="back" ng-click="goback();">
		<i  class="icon icon-back"></i>
		</a>
</div>
<div class='fui-content' style="top:0;background:none;padding-bottom:0">
	<div style="padding:2rem;margin-top:1rem">
		<div class="top" style="margin-bottom:-1.3rem;z-index:108">
			<div class="c">
					<img style="width:3rem;height:3rem;border-radius:100%" src="{{tomedia(pagedata.member.avatar) || '../core/resource/images/no-wxapp.png'}}"  />
			</div>
		</div>
		<div class="fui-code" style="background: linear-gradient(#fdf5d8, #fcd7f7);border-radius: 0.5rem;padding-bottom:1rem">		
			 <div class="fui-line-title" style="padding-top:1.3rem" ng-click="tool.clip(pagedata.member.id)">
					<div>{{pagedata.member.nickname}}</div>
					<div style="color:#999;font-size:0.7rem">{{pagedata.isfromuser==1?'他':'我'}}的邀请码：{{pagedata.member.id}} <i class="icon icon-copy" style="font-size:0.6rem"></i></div>
			</div>
			 <div class="c">
                <div style="margin-left:auto;margin-right:auto;padding:0.5rem;border-radius:0.2rem;">
					<div id="containerId"></div>
					<img ng-if="scope.pagedata.adwei!=5" style="width:9rem;height:9rem;border-radius:0.5rem" src="{{tomedia(pagedata.qrcode) || '../core/resource/images/no-wxapp.png'}}" />
                </div>
			</div>
			<div class="fui-line-title">
				<div class="text text-danger bold" style="margin-bottom: -8px;color:#fff;">
					<span style="color:#999;font-size:13px">请用手机浏览器扫上面APP二维码</span> 
				</div>
				<div class="text text-danger" style="margin-bottom: -8px;color:#fff;">
					<span style="color:#999;font-size:13px">可以将二维分享给您的好友，邀请TA加入！</span> 
				</div>
			</div>
			<div class="content-empty" style="margin-top:0.5rem;">
				<a href="javascript:;" onclick="$('#showsharecover').modal();" class='btn btn-sm btn-danger-o external'style="border-radius: 100px;width:  9rem;font-size: .75rem">立即分享</a>
			</div>
		</div>
	</div>
</div>
</div>
<!--分享弹层-->
<div id="showsharecover" class="modal fade" tabindex="-1" style="z-index:99999;display:none;">
<div class="modal-dialog" style="width:100%;left:0;top:0">
	<div ng-if="pagedata.iswechat" id="cover">
		<div class='fui-mask-m visible'></div>
		<div class='arrow'></div>
		<div class='content'>请点击右上角<br/>通过【发送给朋友】<br/>邀请好友！！</div>
	</div>
	<div ng-if="!pagedata.iswechat" id="cover">
		<div class='content'>请“手机截图”分享图片给好友！</div>
	</div>
</div>
</div>
<div ng-if="scope.pagedata.adwei!=7" ng-include="sys_html('common/_adjs')"></div>
<div ng-if="scope.pagedata.adwei==7" ng-include="sys_html('common/_adjs7')"></div>
<script>
if(!scope.pagedata.pluginset.appid){
	scope.message('广告设置不完善，账户ID不存在！','error');
}
if(!scope.pagedata.placement_id){
	scope.message('暂时没有广告！','error');
}

</script>